<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME}_智能办公系统-${attachName}</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
        <script type="text/javascript" src="../jquery.min.js"></script>
        <script type="text/javascript">
            function AfterDocumentOpened() {
                //alert(document.getElementById("PDFCtrl1").Caption);
            }

            function SetBookmarks() {
                document.getElementById("PDFCtrl1").BookmarksVisible = !document.getElementById("PDFCtrl1").BookmarksVisible;
            }

            function PrintFile() {
                document.getElementById("PDFCtrl1").ShowDialog(4);
            }

            function SwitchFullScreen() {
                document.getElementById("PDFCtrl1").FullScreen = !document.getElementById("PDFCtrl1").FullScreen;
            }

            function SetPageReal() {
                document.getElementById("PDFCtrl1").SetPageFit(1);
            }

            function SetPageFit() {
                document.getElementById("PDFCtrl1").SetPageFit(2);
            }

            function SetPageWidth() {
                document.getElementById("PDFCtrl1").SetPageFit(3);
            }

            function ZoomIn() {
                document.getElementById("PDFCtrl1").ZoomIn();
            }

            function ZoomOut() {
                document.getElementById("PDFCtrl1").ZoomOut();
            }

            function FirstPage() {
                document.getElementById("PDFCtrl1").GoToFirstPage();
            }

            function PreviousPage() {
                document.getElementById("PDFCtrl1").GoToPreviousPage();
            }

            function NextPage() {
                document.getElementById("PDFCtrl1").GoToNextPage();
            }

            function LastPage() {
                document.getElementById("PDFCtrl1").GoToLastPage();
            }

            function SetRotateRight() {
                document.getElementById("PDFCtrl1").RotateRight();
            }

            function SetRotateLeft() {
                document.getElementById("PDFCtrl1").RotateLeft();
            }
        </script>
    <style>
        div{    /* div的CSS样式  */
            position : absolute;
            width : 100%;
            height : 100%;
        }
        *{        /* CSS Reset */
            margin : 0;
            padding : 0;
        }
    </style>
</head>
<body>
<div>${pageoffice}</div>
<form action="">
    <input type="hidden" name="attachId" id="attachId" value="${attachId}">
</form>
</body>
</html>
